package com.lifa.service.impl;

import com.lifa.dao.HuiYuanLeiXingDao;
import com.lifa.entity.Huiyuanleixing;
import com.lifa.service.HuiYuanLeiXingService;
import com.lifa.service.HuiYuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HuiYuanLeiXingServicrImpl implements HuiYuanLeiXingService {
    @Autowired
    private HuiYuanLeiXingDao huiYuanLeiXingDao;


    public long zongtiaoshu1(String huiyuanleixing_Name) {
        return huiYuanLeiXingDao.zongtiaoshu(huiyuanleixing_Name);
    }


    public List<Huiyuanleixing> fenye1(String huiyuanleixing_Name,int offset,int limit) {
        return huiYuanLeiXingDao.fenye(huiyuanleixing_Name,offset,limit);
    }

    @Override
    public int xgai1(Huiyuanleixing huiyuanleixing) {
        return huiYuanLeiXingDao.xgai(huiyuanleixing);
    }

    @Override
    public Huiyuanleixing xgaiid1(int huiyuanleixing_Id) {
        return huiYuanLeiXingDao.xgaiid(huiyuanleixing_Id);
    }

    @Override
    public int sc1(int huiyuanleixing_Id) {
        return huiYuanLeiXingDao.sc(huiyuanleixing_Id);
    }

    @Override
    public int tianjia1(Huiyuanleixing huiyuanleixing) {
        return huiYuanLeiXingDao.tianjia(huiyuanleixing);
    }

    public List<Huiyuanleixing> chax1() {
        return huiYuanLeiXingDao.chax();
    }
}
